import { axios } from '@/libs/util' 
export const GetRijianAssessType = () => {
  return axios.get('api/Rijian/GetRijianAssessType')
}

export const SaveRijianAssessType = formData => {
  return axios.post('api/Rijian/SaveRijianAssessType', formData)
}

export const DeleteRijianAssessType = id => {
  return axios.delete('api/Rijian/DeleteRijianAssessType/'+id)
}
export const SaveRijianGroup = formData => {
  return axios.post('api/Rijian/SaveRijianGroup', formData)
}
export const ImportRijianAssessType = formData => {
  return axios.post('api/Rijian/ImportRijianAssessType', formData)
}
export const ImportAssessRijian = formData => {
  return axios.post('api/Rijian/ImportAssessRijian', formData)
}

export const SearchRijianGrouphasPage = formData => {
  return axios.post('api/Rijian/SearchRijianGrouphasPage', formData)
}

export const  SearchAssessRijian = formData => {
  return axios.post('api/Rijian/SearchAssessRijian', formData)
}
 
export const SaveOrgAssess = formData => {
  return axios.post('api/Rijian/SaveOrgAssess', formData)
}

export const SavedRijianGroup = id => {
  return axios.post('api/Rijian/SavedRijianGroup/'+id)
}

export const DeleteRijianGroup = id => {
  return axios.delete('api/Rijian/DeleteRijianGroup/'+id)
}
export const SaveAssessRijian = formData => {
  return axios.post('api/Rijian/SaveAssessRijian', formData)
}
export const DeleteAssessRijian = id => {
  return axios.delete('api/Rijian/DeleteAssessRijian/'+id)
} 

export const BeginRijianAssess = id => {
  return axios.post('api/Rijian/BeginRijianAssess/'+id)
}
export const GetRijianItemImg = id => {
  return axios.get('api/Rijian/GetRijianItemImg/'+id)
}
export const GetRijianAssessInfo = id => {
  return axios.get('api/Rijian/GetRijianAssessInfo/'+id)
}
export const GetRijianAssessInfoHasImg = id => {
  return axios.get('api/Rijian/GetRijianAssessInfoHasImg/'+id)
}
export const GetAreaYear = () => {
  return axios.get('api/Rijian/GetAreaYear')
}

export const TransRijianGroup = formData => {
  return axios.post('api/Rijian/TransRijianGroup', formData)
}
export const GetRijianTown = groupid => {
  return axios.get('api/Rijian/GetRijianTown?groupid='+groupid)
}
export const SearchRijianWorkDetail =formData=> {
  return axios.post('api/Rijian/SearchRijianWorkDetail',formData)
}